/* ==================
          文本
 ==================== */
$text-sm: 14px;
$text-df: 16px; //默认
$text-lg: 18px;
$text-xl: 20px;
$text-xxl: 24px;
$text-xxxl: 28px;

.text-sm {
	font-size: $text-sm;
}
.text-df {
	font-size: $text-df;
}
.text-lg {
	font-size: $text-lg;
}
.text-xl {
	font-size: $text-xl;
}
.text-xxl {
	font-size: $text-xxl;
}
.text-xxxl {
	font-size: $text-xxxl;
}

.text-Abc {
	text-transform: Capitalize;
}

.text-ABC {
	text-transform: Uppercase;
}

.text-abc {
	text-transform: Lowercase;
}

.text-price::before {
	content: '¥';
	font-size: 80%;
	margin-right: 4upx;
}

.text-cut {
	/* #ifndef APP-NVUE */
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	/* #endif */
	/* #ifdef APP-NVUE */
	lines: 1;
	/* #endif */
}

.text-bold {
	font-weight: bold;
}

.text-center {
	text-align: center;
}

.text-content {
	line-height: 1.6;
}

.text-left {
	text-align: left;
}

.text-right {
	text-align: right;
}
